package server.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import server.domain.Area;

public interface AreaMapper {
	@Select("select count(id) from area")
	int getCount();
	List<Area> findPage(@Param("start")int start, @Param("size")Integer size);
	int insertBatch(List<Area> areas);
    int deleteByPrimaryKey(String id);

    int insert(Area record);

    Area selectByPrimaryKey(String id);

    List<Area> selectAll();

    int updateByPrimaryKey(Area record);

}